inline getprogname replacement
authorMichael Tokarev <mjt@tls.msk.ru>
Tue, 20 Jan 2026 19:27:54 +0000 (22:27 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 8 Mar 2026 11:27:42 +0000 (14:27 +0300)
commitaa68e502aeaa9a1038364cc498911dcd84b5258e
tree7a6a222d690bbca64ab2e3009516b98978eadde5
parent1c021b255d2cdf4c5ae0592632b52ff10dce2f29
inline getprogname replacement

Forwarded: not-needed

Inline getprogname() by using program_invocation_short_name
when available (like with glibc).

This makes a lot of binaries to avoid linkage to libreplace.

This is a short and dirty version, proper change for upstream
should clean up #ifdef'fery in replace.c.

Gbp-Pq: Name inline-getprogname.diff
lib/replace/replace.c
lib/replace/replace.h